package com.ruoyi.wfshou.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 综合实践类项目对象 proj_prac
 * 
 * @author zongying
 * @date 2023-06-19
 */
public class ProjPrac extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private Long projId;

    /** 实践编号 */
    private Long pracId;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private Long prodId;

    /** 加工技术编号 */
    @Excel(name = "加工技术编号")
    private Long procId;

    /** 物流技术编号 */
    @Excel(name = "物流技术编号")
    private Long logisId;

    @Excel(name = "项目名字")
    private String projName;
    @Excel(name = "产品名字")
    private String prodName;
    @Excel(name = "加工技术名字")
    private String procName;
    @Excel(name = "物流技术名字")
    private String logisName;
    @Excel(name = "项目负责人编号")
    private Long  userId;

    public String getProjName() {
        return projName;
    }

    public void setProjName(String projName) {
        this.projName = projName;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getProcName() {
        return procName;
    }

    public void setProcName(String procName) {
        this.procName = procName;
    }

    public String getLogisName() {
        return logisName;
    }

    public void setLogisName(String logisName) {
        this.logisName = logisName;
    }

    /** 起点 */
    @Excel(name = "起点")
    private String retainFirst;

    /** 终点 */
    @Excel(name = "终点")
    private String retainLast;

    /** 运输时间(单位：小时) */
    @Excel(name = "运输时间(单位：小时)")
    private BigDecimal retainTime;

    /** 产品损耗率 */
    @Excel(name = "产品损耗率")
    private BigDecimal retainLoss;

    /** 产品质保度（0：优 1：良 2：差) */
    @Excel(name = "产品质保度", readConverterExp = "产品质保度（0：优 1：良 2：差)")
    private BigDecimal retain;

    public void setProjId(Long projId) 
    {
        this.projId = projId;
    }

    public Long getProjId() 
    {
        return projId;
    }
    public void setPracId(Long pracId) 
    {
        this.pracId = pracId;
    }

    public Long getPracId() 
    {
        return pracId;
    }
    public void setProdId(Long prodId) 
    {
        this.prodId = prodId;
    }

    public Long getProdId() 
    {
        return prodId;
    }
    public void setProcId(Long procId) 
    {
        this.procId = procId;
    }

    public Long getProcId() 
    {
        return procId;
    }
    public void setLogisId(Long logisId) 
    {
        this.logisId = logisId;
    }

    public Long getLogisId() 
    {
        return logisId;
    }
    public void setRetainFirst(String retainFirst) 
    {
        this.retainFirst = retainFirst;
    }

    public String getRetainFirst() 
    {
        return retainFirst;
    }
    public void setRetainLast(String retainLast) 
    {
        this.retainLast = retainLast;
    }

    public String getRetainLast() 
    {
        return retainLast;
    }
    public void setRetainTime(BigDecimal retainTime) 
    {
        this.retainTime = retainTime;
    }

    public BigDecimal getRetainTime() 
    {
        return retainTime;
    }
    public void setRetainLoss(BigDecimal retainLoss) 
    {
        this.retainLoss = retainLoss;
    }

    public BigDecimal getRetainLoss() 
    {
        return retainLoss;
    }
    public void setRetain(BigDecimal retain) 
    {
        this.retain = retain;
    }

    public BigDecimal getRetain() 
    {
        return retain;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projId", getProjId())
            .append("pracId", getPracId())
            .append("prodId", getProdId())
            .append("procId", getProcId())
            .append("logisId", getLogisId())
            .append("retainFirst", getRetainFirst())
            .append("retainLast", getRetainLast())
            .append("retainTime", getRetainTime())
            .append("retainLoss", getRetainLoss())
            .append("retain", getRetain())
                .append("logisName",getLogisName())
                .append("projName",getProjName())
                .append("prodName",getProdName())
                .append("procName",getProcName())
                .append("userId",getUserId())

            .toString();
    }
}
